<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="calendar/calendar.js"></script>
        <link rel="stylesheet" type="text/css" href="calendar/calendar.css"/>        
    </head>
    <body>
        <form method="post" action="editDateResolution.php">
            <p>
                <label class="description" for="element_2">News Date </label>
                <span>
                    <input id="element_2_1" name="dateM" class="element text" size="2" maxlength="2" value="${VARIABLE_month}" type="text"/> /
                    <label for="element_2_1">MM</label>
                </span>
                <span>
                    <input id="element_2_2" name="dateD" class="element text" size="2" maxlength="2" value="${VARIABLE_day}" type="text"/> /
                    <label for="element_2_2">DD</label>
                </span>
                <span>
                    <input id="element_2_3" name="dateY" class="element text" size="4" maxlength="4" value="${VARIABLE_year}" type="text"/>
                    <label for="element_2_3">YYYY</label>
                </span>

                <span id="calendar_2">
                    <img id="cal_img_2" class="datepicker" src="calendar/calendar.gif" alt="Pick a date."/>
                </span>
                <script type="text/javascript">
                    Calendar.setup({
                        inputField	 : "element_2_3",
                        baseField    : "element_2",
                        displayArea  : "calendar_2",
                        button		 : "cal_img_2",
                        ifFormat	 : "%B %e, %Y",
                        onSelect	 : selectDate
                    });
                </script>
            </p>
            <p>
                <input type="submit" name="preview" value="Preview"/> <input type="submit" name="save" value="Save"/>
            </p>
        </form>
        History:
        ${VARIABLE_historyAll}
    </body>
</html>
